//
//  LoginViewController.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/17.
//  Copyright © 2020 王洋. All rights reserved.
//

#import "TT_BaseViewController.h"
#import "LoginBannerModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(unsigned long, TT_LoginType) {
    //验证码登录
    TT_LoginType_Code         = 0,
    //密码登录
    TT_LoginType_PassWord     = 1
};

typedef NS_ENUM(unsigned long, TT_LoginStepType) {
    //账号密码
    TT_LoginStepType_phonePsw         = 0,
    //手机号验证码
    TT_LoginStepType_phoneSms         = 1,
    //接收短信
    TT_LoginStepType_recSms           = 2
};

@interface LoginViewController : TT_BaseViewController<UINavigationControllerDelegate>

@property (nonatomic, assign) TT_LoginType type;
@property (nonatomic, strong) LoginBannerModel *model;

@property (nonatomic, copy)void (^completion)(BOOL isLogin,NSDictionary *options);

//第三方登录背景
@property (weak, nonatomic) IBOutlet UIView *threeLoginBG;


@end

NS_ASSUME_NONNULL_END
